import { http } from '@/utils/http/axios';
//对考勤信息定义类型
interface Attendance {
  days: string;
  attendance: string;
  limit: number;
  offset: number;
}
//对任务

//获取考勤的信息
export function Attendances(data: Attendance) {
  return http.request(
    {
      url: '/attendance/kao',
      method: 'GET',
      params: data,
    },
    {
      isTransformResponse: false,
    }
  );
}
